package com.ruoyi.cpsp.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ruoyi.cpsp.domain.ApprovalRecord;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface ApprovalRecordMapper extends BaseMapper<ApprovalRecord> {

    ApprovalRecord selectByPrimaryKey(Integer id);

    int deleteByPrimaryKey(Integer id);

    int updateStateByPrimaryKey(ApprovalRecord record);

    List<ApprovalRecord> selectAll(Integer state);

}
